ul.collection
  - collection.each do |item|
    - view_model = view_model_for item
    li
      = view_model.render_as template_name
    = separator unless item == collection.entries.last
